package com.ly.heart.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingAllocateInfoEntity;

import java.util.List;

/**
 * new调拨单Mapper接口
 * 
 * @author wutao
 * @date 2024-08-07
 */
public interface KingAllocateInfoMapper extends BaseMapper<KingAllocateInfoEntity>
{
    /**
     * 查询new调拨单
     * 
     * @param id new调拨单ID
     * @return new调拨单
     */
    public KingAllocateInfoEntity selectErpKingAllocateInfoById(String id);

    /**
     * 查询new调拨单列表
     * 
     * @param erpKingAllocateInfo new调拨单
     * @return new调拨单集合
     */
    public List<KingAllocateInfoEntity> selectErpKingAllocateInfoList(KingAllocateInfoEntity erpKingAllocateInfo);

    /**
     * 新增new调拨单
     * 
     * @param erpKingAllocateInfo new调拨单
     * @return 结果
     */
    public int insertErpKingAllocateInfo(KingAllocateInfoEntity erpKingAllocateInfo);

    /**
     * 修改new调拨单
     * 
     * @param erpKingAllocateInfo new调拨单
     * @return 结果
     */
    public int updateErpKingAllocateInfo(KingAllocateInfoEntity erpKingAllocateInfo);

    /**
     * 删除new调拨单
     * 
     * @param id new调拨单ID
     * @return 结果
     */
    public int deleteErpKingAllocateInfoById(String id);

    /**
     * 批量删除new调拨单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteErpKingAllocateInfoByIds(String[] ids);
}
